#include <stdio.h>
#include <stdlib.h>

void main()
{
    int x,a=5,b=6,c=4,d=3;
    if(a<c)
    if(b<d) x=2;
    else x=3;
    else x=4;
    // else x=5;
    printf("%d\n",x);
    system("pause");
}